
<!-- 数据科学与大数据一班  F21600122周群  2024/1/4 -->
<html>
	<head>
		<link rel="stylesheet" href="css/10.1.css" />
	</head>
	<body>
		<div class="header">
			<div class="one">
				<div class="four">
					<div><button id="backButton" onclick="goBack()">
							<p>
								<</p>
						</button>
					</div>
				</div>

				<div class="two">
					<div><img src="img/zhidubao.png" alt="cc" class="img1" /></div>
					<div class="three">支付宝付款</div>
				</div>
				<div class="five"><button id="myButton" class="san">
						<p>...</p>
					</button>
				</div>
			</div>
			<div>
				<ul>
					<li>
						<button onclick="storeSelection('余额宝')">
							<div class="content-item"><img src="img/yue.png" alt="aa" class="img2" />
								<div class="item1">

									<div><span>余额宝</span></div>
									<div class="text1">可用1个亿,由幻想金融提供</div>

								</div>
							</div>
						</button>
					</li>
					<li>
						<button onclick="storeSelection('建设银行')">
							<div class="item1">

								<div class="content-item"><img src="img/zhong.png" alt="qq" class="img2" />
									<span>建设银行储蓄卡(6543)</span>

								</div>
							</div>
						</button>
					</li>
					<li>
						<button onclick="goBack()">
							<div class="item1">

								<div class="content-item"><img src="img/tianjiaka.png" alt="ee" class="img2" />

									<div class="six"><span>添加其他银行卡(1234)</span>

										<div class="text2">></div>
									</div>
						</button>
			</div>
		</div>
		</li>
		</ul>
		</div>
		</div>
	</body>
	<script>
		// 在当前页面脚本中
		function storeSelection(selection) {
		  // 存储用户的选择到localStorage
		  localStorage.setItem("selectedContent", selection);
		  // 返回上一页
		  goBack();
		}
		
		function goBack() {
		  window.history.back();
		}
	</script>
</html>